/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

import java.io.Serializable;

/**
 *
 * @author JuanFelipe
 */
public class Rol implements Data, Serializable{
    String role, password, autentication, com, o;

    public Rol(String role, String autentication) {
        this.role = role;
        this.autentication = autentication;
    }

    public Rol(String role, String password, String autentication, String com, String o) {
        this.role = role;
        this.password = password;
        this.autentication = autentication;
        this.com = com;
        this.o = o;
    }

    
    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAutentication() {
        return autentication;
    }

    public void setAutentication(String autentication) {
        this.autentication = autentication;
    }

    public String getCom() {
        return com;
    }

    public void setCom(String com) {
        this.com = com;
    }

    public String getO() {
        return o;
    }

    public void setO(String o) {
        this.o = o;
    }
    
    @Override
    public String getName() {
        return role;
    }

    public void setName(String role) {
        this.role = role;
    }
}
